package Strategy_robotapp;

/**
 * Created with IntelliJ IDEA.
 * User: Bjarke
 * Date: 15-10-13
 * Time: 19:18
 * To change this template use File | Settings | File Templates.
 */
public interface IBehaviour {
    public int moveCommand();
}

class AgressiveBehaviour implements IBehaviour{
    @Override
    public int moveCommand() {
        System.out.println("\tAgressive Behaviour: if find another robot attack it");
        return 1;  //To change body of implemented methods use File | Settings | File Templates.
    }
}

class DefensiveBehaviour implements IBehaviour{
    @Override
    public int moveCommand() {
        System.out.println("\tDefensive Behaviour: if find another robot run from it");
        return -1;  //To change body of implemented methods use File | Settings | File Templates.
    }
}

class NormalBehaviour implements IBehaviour{
    @Override
    public int moveCommand() {
        System.out.println("\tNormal Behaviour: if find another robot ignore it");
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
